package so.sao.shop.supplier.pojo.input;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * <p>Version: New shop-1.2.0 V1.1.0 </p>
 * <p>Title: DeliverGoodsInput</p>
 * <p>Description: 退换货（自配送/物流）发货入参 </p>
 *
 * @author: zhaoyan
 * @Date: Created in 2017/11/30 17:07
 */
@Getter
@Setter
public class DeliverGoodsInput {
    /**
     * 详情编号ID
     */
    @NotEmpty(message = "详情编号ID不能为空")
    private Long detailsId;

    /**
     * 配送方式, 1-自配送, 2-物流公司
     */
    @NotEmpty(message = "配送方式不能为空")
    private int logisticsShipMethod;

    /**
     * 物流公司,仅当选择物流公司配送时填写
     */
    private String logisticsCompany;

    /**
     * 物流单号,仅当选择物流公司配送时填写
     */
    private String logisticsShipmentNumber;

    /**
     * 自配送取件人姓名,仅当选择自配送时填写
     */
    private String distributorName;

    /**
     * 自配送取件人电话,仅当选择自配送时填写
     */
    private String distributorMobile;
}
